package xx.iverson.video_manage.mapper;

import org.apache.ibatis.annotations.Mapper;
import xx.iverson.video_manage.entity.CategoryLevel1;
import xx.iverson.video_manage.entity.Video;

import java.util.List;

/**
 * xx.iverson.video_manage.mapper.IndexMapper
 * <p>
 * on 2024/12/12
 *
 * @author weijx
 */
@Mapper
public interface IndexMapper {
    List<CategoryLevel1> selectAllWithSubcategories();

    List<Video> searchByTitle(String query);

    String selectTitle();
}
